Skip to content

Migrate from Robolectric.flushForegroundThreadScheduler to ShadowLooper.runToEndOfTasks #6918

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 22, 2025

Conversation

hoisie
Copy link
Contributor

@hoisie hoisie commented Apr 28, 2025

Robolectric.flushForegroundThreadScheduler is going to be removed in a forthcoming Robolectric release. The Robolectric Scheduler APIs are designed for LEGACY Looper mode which has been deprecated for years.

@hoisie hoisie force-pushed the remove-flush-foreground branch from 849827b to 0bd3f29 Compare April 28, 2025 22:23
@VinayGuthal VinayGuthal self-requested a review May 22, 2025 17:35
@eldhosembabu eldhosembabu self-assigned this May 22, 2025
…er.runToEndOfTasks

Robolectric.flushForegroundThreadScheduler is going to be removed in a
forthcoming Robolectric release. The Robolectric Scheduler APIs are
designed for LEGACY Looper mode which has been deprecated for years.
@hoisie hoisie force-pushed the remove-flush-foreground branch from 0bd3f29 to fd523de Compare May 22, 2025 17:41
@VinayGuthal VinayGuthal enabled auto-merge (squash) May 22, 2025 18:27
@VinayGuthal VinayGuthal merged commit ec4b353 into firebase:main May 22, 2025
30 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants